import Client from "./Base.js";

export default {
  /**
   * 获取实验室信息
   */
  labor(uid) {
    return Client.get("/labclass",{
      id: uid
    });
  },
  /**
   * 修改实验室信息
   */
  alertLabor(id, course, num) {
    return Client.get("/updatesbt",{
      code: id,
      nub: num,
      strr: course
    });
  },
  /**
   * 获取申请信息表
   */
  getApply(uid) {
    return Client.get("/looklook",{
      sid: uid
    });
  },
  /**
   * 回复申请
   */
  replyApply(id, respone, comment) {
    return Client.get("/upup",{
      api: id,
      res: respone,
      com: comment
    });
  }
};